<template>
  <div class="iconList">
    <div class="iconIiem">
      <div class="svgbox">
        <svg class="icon" aria-hidden="true">
          <use xlink:href="#icon-tuijian" />
        </svg>
      </div>
      <div class="title">
        <span>每日推荐</span>
      </div>
    </div>
    <div class="iconIiem">
      <div class="svgbox">
         <svg class="icon" aria-hidden="true">
          <use xlink:href="#icon-paihangbang" />
        </svg>
      </div>
      <div class="title">
        <span>排行榜</span>
      </div>
    </div>
    <div class="iconIiem">
      <div class="svgbox">
         <svg class="icon" aria-hidden="true">
          <use xlink:href="#icon-gedan" />
        </svg>
      </div>
      <div class="title">
        <span>歌单</span>
      </div>
    </div>
    <div class="iconIiem">
      <div class="svgbox">
        <svg class="icon" aria-hidden="true">
          <use xlink:href="#icon-a-tupianyihuifu-15" />
        </svg>
      </div>
      <div class="title">
        <span>私人FM</span>
      </div>
    </div>
  </div>
</template>

<style lang="less" scoped>
.iconList {
  display: flex;
  justify-content: space-between;
  .iconIiem {
    .svgbox {
      width: 1rem;
      height: 1rem;
      background-color: #ff3211;
      border-radius: 100%;
      position: relative;
      .icon {
        width: 0.5rem;
        height: 0.5rem;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        top: 50%;
      }
      .icon:nth-child(n+1){
        width: 0.8rem;
        height: 0.8rem;
      }
    }
  }
  .title {
    margin: 0.2rem 0;
    text-align: center;
    span {
      color: #000;
    }
  }
}
</style>